<?
require_once(_APPLICATION."/service/model_common.php");

class game_model_get extends model_common
{
	public function __construct()
	{
		parent::main();
	}

	public function getAllTables() 
    {

	}
 	
    /**
     * @brief 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
 	public function getShowTable() {

 	}

    /**
     * @brief 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
	public function getUserProfile() 
    {

	}
	
    /**
     * @brief 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
	public function getLoginInfoStatus() 
    {

	}

    /**
     * @brief 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
	public function getInventoryInfoStatus() 
    {

	}

    /**
     * @brief 게임 정보가져오기 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
	public function getGameDataStatus() 
    {
        $oData = $this->mongo_planet->find("user_".$sUserIdx, array(
            "fields" => array("GameData" => true)
        ));
		$oResult = array();
		$oResult = @array_merge( $oResult, $oData );
		$oResult["Result"] = 1;
		return $oResult;
	}

    /**
     * @brief 캐릭터의 아바타 정보가져오기 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
	public function getAvatarInfoStatus($sUserIdx) 
    {
        $oData = $this->mongo_planet->find("user_".$sUserIdx, array(
            "fields" => array("Avatar" => true)
        ));
		$oResult = array();
		$oResult = @array_merge( $oResult, $oData );
		$oResult["Result"] = 1;
		return $oResult;
	}

    /**
     * @brief 행성정보 가져오기 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
	public function getPlanetObjectsInfoStatus($sUserIdx)
    {
        $oData = $this->mongo_planet->find("user_".$sUserIdx, array(
            "fields" => array("PlanetInfo" => true)
        ));
		$oResult = array();
		$oResult = @array_merge( $oResult, $oData );
		$oResult["Result"] = 1;
		return $oResult;
	
    }
 
     /**
     * @brief 현재의 게임 상태가져오기 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/	
 	public function getGameStatus() 
    {

	}
}
